home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 001-025 / disk_010 / iff / readpict.h < prev    next >
Text File  |  1992-05-06  |  878b  |  25 lines

  1. /** ReadPict.h **************************************************************
  2.  *
  3.  * Read an ILBM raster image file.   12/20/85.
  4.  *
  5.  * By Jerry Morrison, Steve Shaw, and Steve Hayes, Electronic Arts.
  6.  * This software is in the public domain.
  7.  *
  8.  * USE THIS AS AN EXAMPLE PROGRAM FOR AN IFF READER.
  9.  *
  10.  * The IFF reader portion is essentially a recursive-descent parser.
  11.  * This program will look into a CAT or LIST to find a FORM ILBM, but it
  12.  * won't look inside another FORM type for a nested FORM ILBM.
  13.  ****************************************************************************/
  14.  
  15. typedef struct {
  16.    ClientFrame clientFrame;
  17.    UBYTE foundBMHD;
  18.    UBYTE nColorRegs;
  19.    BitMapHeader bmHdr;
  20.    Color4 colorMap[32 /*1<<MaxAmDepth*/ ];
  21.    /* If you want to read any other property chunks, e.g. GRAB or CAMG, add
  22.     * fields to this record to store them. */
  23.    } ILBMFrame;
  24.  
  25.